package cc.rengu.oltp.service.model;

/**
 * Created by wangcheng on 2021/10/11 14:49
 */
public class MonitorQuota {
    int totalNum;    /* 总交易笔数 */
    int totalSuccessNum;    /* 总成功笔数 */
    int totalFailNum;    /* 总失败笔数 */
    int seriesFailNum;    /* 连续失败笔数 */
    int totalTimeoutNum;    /* 总超时笔数 */
    int seriesTimeoutNum;    /* 连续超时笔数 */
    int avgTxnCost;    /* 平均交易时间 */
    String successRate;    /* 交易成功率 */
    String failRate;    /* 交易失败率 */
    String timeoutRate;    /* 交易超时率 */

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getTotalSuccessNum() {
        return totalSuccessNum;
    }

    public void setTotalSuccessNum(int totalSuccessNum) {
        this.totalSuccessNum = totalSuccessNum;
    }

    public int getTotalFailNum() {
        return totalFailNum;
    }

    public void setTotalFailNum(int totalFailNum) {
        this.totalFailNum = totalFailNum;
    }

    public int getSeriesFailNum() {
        return seriesFailNum;
    }

    public void setSeriesFailNum(int seriesFailNum) {
        this.seriesFailNum = seriesFailNum;
    }

    public int getTotalTimeoutNum() {
        return totalTimeoutNum;
    }

    public void setTotalTimeoutNum(int totalTimeoutNum) {
        this.totalTimeoutNum = totalTimeoutNum;
    }

    public int getSeriesTimeoutNum() {
        return seriesTimeoutNum;
    }

    public void setSeriesTimeoutNum(int seriesTimeoutNum) {
        this.seriesTimeoutNum = seriesTimeoutNum;
    }

    public int getAvgTxnCost() {
        return avgTxnCost;
    }

    public void setAvgTxnCost(int avgTxnCost) {
        this.avgTxnCost = avgTxnCost;
    }

    public String getSuccessRate() {
        return successRate;
    }

    public void setSuccessRate(String successRate) {
        this.successRate = successRate;
    }

    public String getFailRate() {
        return failRate;
    }

    public void setFailRate(String failRate) {
        this.failRate = failRate;
    }

    public String getTimeoutRate() {
        return timeoutRate;
    }

    public void setTimeoutRate(String timeoutRate) {
        this.timeoutRate = timeoutRate;
    }
}
